ColorManagement Xojo Plugin

ICCColorProfile.ApplyColorProfile Method (console safe)

Applies color profile to a RawBitmap instance.

ApplyColorProfile(
   bitmap as RawBitmap)

Parameters

bitmap
The RawBitmap to apply the color profile to.

Remarks

Note this method does not convert, it only applies the profile. Similar how DefineEncoding on strings only defines the encoding but does not convert.

This function is useful to use on new blank RawBitmap objects or to define the color profile on them if you know what it really is.

This method can throw ICCColorProfileException.

See Also

ICCColorProfile Class